﻿using System.Windows;

namespace Mp3Observer.Common.Factory
{
    /// <summary>
    /// interface for all view-mode factories
    /// </summary>
    public interface IFactory
    {
        /// <summary>
        /// Creates the view model.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <returns>the new viewmodel</returns>
        object CreateViewModel(DependencyObject sender);
    }
}
